package com.zuipin.entity;

import java.math.BigDecimal;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * 用户-数据-权限 关系
 */
@ApiModel(description = "用户-数据-权限 关系")
public class SysUserResource {

	private Long		id;	// 主键 序列自增
	private Long		userId;	// 系统用户
	private String		columnName;	// 权限所属列名
	private String		tableName;	// 数据权限对应的表名
	private String		powerType;	// 权限类型 all：所有权限 edit：操作权限 query：查询权限
	private String		valueIds;	// 该表对应的数据
	
	
	@ApiModelProperty(value = "主键 序列自增")
	public Long getId() {
		return id;
	}
	
	public void setId(Long id) {
		this.id = id;
	}
	
	@ApiModelProperty(value = "系统用户")
	public Long getUserId() {
		return userId;
	}
	
	public void setUserId(Long userId) {
		this.userId = userId;
	}
	
	@ApiModelProperty(value = "权限所属列名")
	public String getColumnName() {
		return columnName;
	}
	
	public void setColumnName(String columnName) {
		this.columnName = columnName;
	}
	
	@ApiModelProperty(value = "数据权限对应的表名")
	public String getTableName() {
		return tableName;
	}
	
	public void setTableName(String tableName) {
		this.tableName = tableName;
	}
	
	@ApiModelProperty(value = "权限类型 all：所有权限 edit：操作权限 query：查询权限")
	public String getPowerType() {
		return powerType;
	}
	
	public void setPowerType(String powerType) {
		this.powerType = powerType;
	}
	
	@ApiModelProperty(value = "该表对应的数据")
	public String getValueIds() {
		return valueIds;
	}
	
	public void setValueIds(String valueIds) {
		this.valueIds = valueIds;
	}
}
